package com.example.administrator.zkdemo.utils;

/**
 * Created with Android Studio.
 * 描述: ${DESCRIPTION}
 * Date: 2018/11/22
 * Time: 14:41
 *
 * @author 晏琦云
 * @version ${VERSION}
 */

import android.os.Environment;

public class ZKFilePath {
    public static String AD_PATH;
    public static String AD_PICTURE_PATH;
    public static String AD_VIDEO_PATH;
    public static String APP_PATH;
    public static String FACE_DB_PATH;
    public static String FACE_PATH;
    public static String IMAGE_PATH;
    public static String LOGCAT_PATH;
    public static String MAIN_DB_PATH = "/data/data/com.zkteco.android.core/databases/ZKDB.db";
    public static String PHOTO_PATH;
    public static String RES_PATH = "/sdcard/ZKTeco/";
    public static String SHARED_PREFERENCES = "share_date";
    public static String SUFFIX_IMAGE = ".jpg";
    public static String U_AD_PATH;
    public static String U_FACE_PATH;
    public static String U_PATH = "/mnt/media_rw/usbport0/";
    public static String U_PERS_BIOTEMPLATE_DATA_PATH;
    public static String U_PERS_BIOTEMPLATE_PATH;
    public static String U_PHOTO_PATH;
    public static String U_PICTURE_PATH;
    public static String U_USER_PATH;
    public static String U_VIDEO_PATH;
    public static String ZK_PATH;

    static {
        StringBuilder localStringBuilder = new StringBuilder();
        localStringBuilder.append(Environment.getExternalStorageDirectory().getPath());
        localStringBuilder.append("/ZKTeco/SuperFaceP/");
        APP_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(APP_PATH);
        localStringBuilder.append("faceDb.db");
        FACE_DB_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(RES_PATH);
        localStringBuilder.append("commonres/");
        AD_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(AD_PATH);
        localStringBuilder.append("adpic/");
        AD_PICTURE_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(AD_PATH);
        localStringBuilder.append("advideo/");
        AD_VIDEO_PATH = localStringBuilder.toString();
        ZK_PATH = RES_PATH;
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(ZK_PATH);
        localStringBuilder.append("data/");
        IMAGE_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(IMAGE_PATH);
        localStringBuilder.append("photo/");
        PHOTO_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(Environment.getExternalStorageDirectory().getPath());
        localStringBuilder.append("/ZKTeco/trace/");
        LOGCAT_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(IMAGE_PATH);
        localStringBuilder.append("biophoto/face/");
        FACE_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_PATH);
        localStringBuilder.append("/ad/");
        U_AD_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_AD_PATH);
        localStringBuilder.append("picture/");
        U_PICTURE_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_AD_PATH);
        localStringBuilder.append("video/");
        U_VIDEO_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_PATH);
        localStringBuilder.append("user.dat");
        U_USER_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_PATH);
        localStringBuilder.append("ZKTeco/photo/");
        U_PHOTO_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_PATH);
        localStringBuilder.append("ZKTeco/face/");
        U_FACE_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_PATH);
        localStringBuilder.append("persBioTemplate.dat");
        U_PERS_BIOTEMPLATE_PATH = localStringBuilder.toString();
        localStringBuilder = new StringBuilder();
        localStringBuilder.append(U_PATH);
        localStringBuilder.append("persBioTemplateData.dat");
        U_PERS_BIOTEMPLATE_DATA_PATH = localStringBuilder.toString();
    }
}
